Version

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class Version(val version: Int)

Defines the version of the config file.

Config serialization will prepend a 'version' key with the integer version of a config. defaults to 0, even if a Version annotation is not used. This number is passed to Config

Author

fzzyhmstrs

Since

0.2.0

Parameters

version

the version number of the config. 0-indexed.

Properties

Link copied to clipboard